<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学生登录</title>
    <link href="/static/bootstrap-5.3.0/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }

        .login-container {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            padding: 30px;
            width: 100%;
            max-width: 400px;
            position: relative;
            overflow: hidden;
        }

        .login-container::before {
            content: '';
            position: absolute;
            top: -50px;
            left: -50px;
            width: 100px;
            height: 100px;
            background-color: rgba(79, 110, 234, 0.1);
            border-radius: 50%;
            z-index: 0;
        }

        .login-container::after {
            content: '';
            position: absolute;
            bottom: -50px;
            right: -50px;
            width: 100px;
            height: 100px;
            background-color: rgba(79, 110, 234, 0.1);
            border-radius: 50%;
            z-index: 0;
        }

        .login-title {
            text-align: center;
            margin-bottom: 30px;
            color: #4f6ef6;
            font-weight: 600;
            position: relative;
            z-index: 1;
        }

        .form-group {
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }

        .form-control {
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 12px 15px;
            transition: all 0.3s ease;
            font-size: 16px;
        }

        .form-control:focus {
            border-color: #4f6ef6;
            box-shadow: 0 0 0 3px rgba(79, 110, 234, 0.2);
            outline: none;
        }

        .btn-login {
            width: 100%;
            padding: 12px;
            background-color: #4f6ef6;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-login:hover {
            background-color: #3a56d4;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(79, 110, 234, 0.3);
        }

        .forgot-password {
            text-align: center;
            margin-top: 20px;
            position: relative;
            z-index: 1;
        }

        .forgot-password a {
            color: #4f6ef6;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .forgot-password a:hover {
            color: #3a56d4;
            text-decoration: underline;
        }

        .login-icon {
            text-align: center;
            margin-bottom: 20px;
        }

        .login-icon i {
            font-size: 48px;
            color: #4f6ef6;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="row justify-content-center">
        <div class="login-container">
            <div class="login-icon">
                <i class="bi bi-book"></i>
            </div>
            <h3 class="login-title">学生登录</h3>
            <form action="/students/login" method="post">
                <!-- 学号输入 -->
                <div class="form-group">
                    <input type="text"
                           class="form-control"
                           id="studentId"
                           name="studentId"
                    placeholder="请输入学号"
                    required>
                </div>

                <!-- 密码输入 -->
                <div class="form-group">
                    <input type="password"
                           class="form-control"
                           id="password"
                           name="password"
                    placeholder="请输入密码"
                    required>
                </div>

                <!-- 登录按钮 -->
                <button type="submit" class="btn btn-primary btn-login">立即登录</button>

            </form>
        </div>
    </div>
</div>

<script src="/static/bootstrap-5.3.0/js/bootstrap.bundle.min.js"></script>
</body>
</html>